package com.cheney.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author si.chen
 * @date 2021/6/30 15:43
 */
@Data
@TableName("test_name")
public class TestName {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    public TestName(String name) {
        this.name = name;
    }
}
